package com.codingman.springdemo3;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;

@Aspect
public class Test2 {
	@Pointcut("execution(* Foo.*(..))")
	public void b() {
	}

	@After("b()")
	public void myadvice(JoinPoint jp)
	{
		System.out.println("After Advice");
	}
}
